/*
 * @Author: NtyAaron
 * @Date: 2021-04-10 20:27:06
 * @LastEditors: NtyAaron
 * @LastEditTime: 2021-06-23 14:22:38
 * @Description: 铁路查询api
 * @FilePath: \dwq\api\checkRailway\checkRailway.js
 */

import request from '../../utils/request'

// 铁路查询
export const getRailway = (data) => {
  return request({
    url: `/aviation/getRailway`,
    data,
  })
}

// 铁路列表/不分页
export const getRailwayList = (e) => {
  return request({
    url: `/port/getRailwayList?language=${e.language}&type=${e.type}`,
  })
}

// 铁路详情
export const getRailwayDetail = (e) => {
  return request({
    url: `/port/getRailwayList?railwayId=${e}`,
  })
}
